<template>
  <el-dialog title="提现明细" :visible.sync="dialogData.isShow" width="30%" center>
    <el-table :data="tableData" align="center" style="margin-bottom:30px">
      <el-table-column align="center" prop="withdrawTime" label="提现时间">
      </el-table-column>
      <el-table-column align="center" prop="withdrawMoney" label="提现金额">
      </el-table-column>
    </el-table>
  </el-dialog>
</template>
<script>
import { getWithdrawDetail } from '@/api/activityCenter/activityManage/inviteHaveGift'
export default {
  props: ['dialogData'],
  data() {
    return {
      tableData: []
    }
  },
  mounted() {
    const { activityId, userId } = this.dialogData
    getWithdrawDetail({ activityId, userId }, (res) => {
      this.tableData = res.rows
    })
  }
}
</script>

<style lang="less" scoped>
:deep(.el-dialog .el-dialog__body) {
  padding: 25px 30px 25px 20px !important;
}
</style>
